//
//  XOWMRequest.h
//  sigleAPP
//
//  Created by SKL on 2017/11/15.
//  Copyright © 2017年 SKL. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger,RequestType){
    YJDRequestTypeLogin = 1,
    YJDRequestTypeRegister,
    YJDRequestTypeQuickRegister,
    YJDRequestTypeAuthenticate,
    YJDRequestTypeVerifyCode,
    YJDRequestTypeFinePWD,
    YJDRequestTypeResetPWD,
    YJDRequestTypeBind,
    YJDRequestTypePrepareZF
};
@protocol YJDRequestDelegate<NSObject>
/**
 *@pragma 请求回调
 */
- (void)yjd_didRequestWithReceiveData:(NSDictionary *)dict;

@end
@interface XOWMRequest : NSObject
@property (nonatomic, assign) id<YJDRequestDelegate>delegate;
@property (nonatomic, assign) RequestType type;
@property (nonatomic, strong) NSURLSessionTask *task;
/**
 *@pragma 注册
 */
- (void)yjd_registerRequst:(NSDictionary *)dict;
/**
 *@pragma 登陆
 */
- (void)yjd_loginRequest:(NSDictionary *)dict;
/**
 *@pragma 实名认证
 */
- (void)yjd_authenticateRequest:(NSDictionary *)dict;
/**
 *@pragma 验证码
 */
- (void)yjd_verifyCodeRequest:(NSDictionary *)dict;
/**
 *@pragma 找回密码
 */
- (void)yjd_findPWDRequest:(NSDictionary *)dict;
/**
 *@pragma 修改密码
 */
- (void)yjd_resetPWDRequest:(NSDictionary *)dict;
/**
 *@pragma 绑定手机号码
 */
- (void)yjd_bindRequest:(NSDictionary *)dict account:(NSString *)account;

/**
 

 @param product 
 */
- (void)yjd_preparezf:(XOWMProductPara)product;


@end
